added def parseActions to def loadRemote.  Changed name of dictionary in def parseActions to match the rest of the code.