modify script file and graphic