added startup scripts patch