Added firewall rules and modified applescript