implement <if use="flag> filesystem manager hook command