Made scripts slightly easier to parametrize.