Fixed default values for sine.
Allow passing input and output files as hash parameter to on_change.
Fixed merge.