Cleaned up GDAY main