Add period option to examples