added app dir as parameter for spring_apps