Articles/run functions

revisions to run-functions article to correct error in code