Updated to run locally on device
Updated to run locally on device