Refactor all conditional statements for improved compatibility
Don't show any output from `command`