Move platform things to a separate file
Output edit command