Working on flags, added application path search