added customprefix_init function back