Changed profile hook to use if statement.
Changed profile hook to use if statement.

- Also changed to use curl instead of wget. Works for mac with https in that
  case.

rcaloras/bashhub-client,rcaloras/bashhub-client