extract setup tasks in setup.xml