Redesign script to download files from FTP