add wait time to ensure ftp files linked