Add modules and content plugin to script environment