trying to pass application_dir