fixed partition script