add period display script