set some system preferences