ported in the customize script