Allow running functions on change

Allow running functions on change