adding curl as dependency