added changes and tried to get it to wake up when short removed.