Fixed formatting and command order to partition image file