better script support