Revert "commented out flash.ts scripts"

This reverts commit 193c61f7df22a5f5ad4aadb8698c5a80e356533b.