Fixing the script problem hopefully