added generate optimal configs script