Use automan scope function.