Set the settings before emitting ready