initialize plugins with script