add afterConstruct function
if in scenario set module id this function get it