Improving the script firewall: simplified squeme and more readeble.