Added app_root param