better app name detection, added app dirs
added get formatted to job control