Added -o arg for outputting generated lua code