Load mod handling in the init method for legacy support