Added call to on device ready