Check for run command before doing version check accounts for optional parameters