added application directory param