apply plugin in init script