Replace plugin file