support for custom scripts