added script header and stdout to /dev/null