moved external to deps and added lua src