move lex into dir