use perl instead because sed was throwing a weird error