added ignore permission
added hook