Fixing last_command
Added rc.local