Add script to time serialization functions