modify to set bin path to settings file