adding possibility to define a custom APPLICATION_PATH