Remove an unneeded type cast. (dm)
Update prologue.sh to use newer shell features (like local variables). (dm)