Fixed the parser, variables can now be set. ^D is needed after all the variables have been set.