add scriptnode for use with gain