use proper work directory