Script after device ready