randomart - Wrap main code in if block