Re-added ts script