added option for last command
fixed record flux
added pkd/ to .gitignore