solved issue where commands with multiple flags/options would not work