Create partition script