moving around powered rail logic to try to fix things.