Updated customizer function