Implemt more Script for Endtime