configure some things to work outside terminal