Replace shell script