manage lua dir