adding mage url variables