support scripting using the 'edge' compiler
update samples