Replaced DASH and tcsh with loksh.