Using curl when wget is not available
Option to create default config too