Is it really necessary to use /bin/sh to execute the commands? It is more secure (and faster) to execute commands directly.