heeded the advices in the pull request about the comments
added shorthand input -p for --periodic