phase script