create and run dynamic module