Make installer script accept p940