updated build environment and updated plugin definition and made use of metadata in json format