lua version ready for initial speed test. does not parse arguments