implemented pf shell script for *NIX environment