support deployment to application directory which is not named 'application'