added psql settings, terminal settings