Rewrite percentages, create test file