Normal-ish main function