Better argument parsing for k-factor script