Allow running functions on change

It might not be the best implementation, but it works for any function with arguments that needs to be run on change.

Please review and comment.