Finished scripts

Fixes #495