Call function properly with new module handling