Setup of base plugin