Moved replacers to after wrap to make sure it gets the full file to replace on