auto compile lua