Changed some comments and added a &>/dev/null to some code