Graphic engine update and LUA scripts added