using calabash 0.9.163's _deprecated function

* replaces calls to device() with calabash environment_helper
functions