Fix a couple mistakes in post-process script