made application path optional