Added the script for device ready