Added check for curl at startup