handle all cmd args