Update Script / working field clear

Took me awhile, but a stable working script is now up.