fixing file permissions on script files adding/removing filtering rules