add string replace to quick and dirty build