fixed issue where PATH was not being modified