public void addMacro(String name, String command){
		if(!macros.containsKey(name)) { // we have a new macro
			println("/"+name+" {"+command+"} def");
			macros.put(name, command);
		}	else {
			if(!macros.get(name).equals(command)){
				//print it as it is different to the one specified before with the same name
				println("/"+name+" {"+command+"} def");
				//replace the one in the map by this one.
				macros.put(name, command);
			}
		}
	}