Read script from file instead of hard coding.