added dependency on luafilesystem and ability to set base directory