Removed unneccessary lua and cleaned up a bit