add callback in options

In my case I need to update .css files (to change all background-images filename) after finishing hashmap task. A callback function would be really helpful :)