moved ftp get of images only if post doesnt exist to make script run much faster