Put the main code you want to run after making that check - call it init() - in a separate function