Additions to scripts, sanity and bound checking on IP address.