Make config file osx and linux friendly with switch