Added external script support.