Rewrote station occupation code.