Effect of metals and surface contaminants on the decoration of graphite