Only set modules to dev Modules when task is executed