Suppresses a warning when run from the command line