main file is running from command line