Added application path; create directory if it doesn't exist already