Adds additional event handler to datescripts