Moved main menu call into function to make import safe in batch mode