added back in mobile check that was disabled for testing purposes