small update to script --spencer