allowed application context to boot from main in agent