Improve setup script
Load OS-dependency settings