Fix this tool for use on Darwin which requires the file to come after the