Code --> Script per @jiahuang 's suggestion