added maestrano option
added maestrano hooks