Better plugin init