Moved applying changes outside of a job. (Related to #71)