New fix to script