I updated this scrip changed the code and added bedtime... it also goes well it http://hawkee.com/snippet/6809/