Update release script to remove dist and template