src: make factor a CLI argument