Made working dir customizable by options