Add prototype code to shell script