Add the exportvariants command

no need for extra parens around the first clause here