[fix] [minor] check for custom script