split plugins from main script