Renamed main to run