refactor: moved custom script types into an injectable array