add get application path function