Update notes for submitted changes

* Update run_tests.sh to run flake8 too.
Update notes for submitted changes

* The vm_state should not be modified until the task is complete.