added thin and pg settings