fix issues, use wrapper instead of os.popen, os.system
read, readlines as separate options
allow arbitrary skipping