added date and entity scripts