customFunction function

Replace a mizer function with a custom version