fix for regfeats missing sequence, add support for build_parts and build_test flags from script