add local sty files, fix some repetitions