add platform and plugin