fix handler_write
add handler_tmp
handler_* and execution graphs are all DERIVE