Updates to script functionality.