Making the application directory configurable.