Fixed the output filepath bug and added a release version build.