added formatting to  pullandprepare