corrected function names in firewall.sh
added error checking to functions.sh allow/deny functions