move objects graphics information to lua scripts