added optional settings script location variable to settings