added if statment for when no options are given, when no optio given its current working dir