add replaces for config files, create image