moving customscript to data