added support for flag to change migration script directory; fixed error handling bug that caused unrecognized commands to not print a message explaining the problem for the user to see