Give precedence to gif command