Setting up curl dependency.
Dependencies work better; Error handling.