New script to check the local security