Fixed only replacing one instance of each asset name in a file.