Finished partition related scripts