fixed my settings script