Update sample_plugin, TODO: fix dev mode script loading