replace the script