corrected path to dep dir
removed deprecated code