Fix :bug: in the custom scripts