_jail bugfix

Included support for multiple IP addresses to be given and fixed a permissions issue.