Corrected Directory Shorthand Handling

Corrected the order in which startDir variable is modified in
processArgs method to correctly allow for period shorthand.