Checking in the main script