Added a directory option for commandline use
Added a directory option for commandline use

 * Performing a <script_name> -d=directory will change the base
   directory to the given variable
Signed-off-by: Tres Walsh <6d279684697be182a0e83229177fc126bcf5026c@mnmlstc.com>

am0d/bit