convert all the pipe characters in site scripts
fixed funny exit code bug