fftm main script and preview downloads util function updated