Don't save a script if it doesn't store properly. #224