only print from create_app if running on the command line