Changing the module installation based on the removed session module