First run the function, then return the exit code. Fixes #206.
Update changes log.
Merge pull request #207 from s0undt3ch/develop

First run the function, then return the exit code. Fixes #206.