Replaced some variables using now the new smlib pluginmanagers