fix package as well as build script for new svn version grepping