fixed busy loop, renamed main lua file