Updated profiles plugin to execute also when not initialized.