minor changes to module execution