Use defaults for application_dir and code_dir rather than vars (which overwrite).