Changing some necessary settings