partition scripts