doing newMain which will use a map file instead