Fixed if in commands
Changed if in commands