application_root added to main.