Merge pull request #288 from cceleri/hotfix_custom_script_support

Add support for `custom` scripts for all types, not just aliases