Renamed main to index to allow easy access if dropped in web_root