Fix a couple issues with rally script.