compile and run locally