Make 'lag' computation more flexible with cmd-line args