Create table script for device_awake