removed not needed spaces before /dev/null in command redirections