Reverted script to working copy. Updated source file to mirror script file.