Update config file : adding possibility to use ~ syntax to make config f...

Update config file : adding possibility to use ~ syntax to make config file more generic