implemented auto application path