added curl return transfer and removed random echo from image search