re committed download script for file extension