Added online switch to locations