Handler around program initialization