remove the duplicated solution for adding_script.