Updated the periodic script