reorgnisation script