update needed to migrate  plugincheck to bedrock + a few related updates in writing script