Readding the main program