cleaning up minor things
diff --git a/bbb_cape/schematic/copy_values.rb b/bbb_cape/schematic/copy_values.rb
new file mode 100755
index 0000000..62d0d05
--- /dev/null
+++ b/bbb_cape/schematic/copy_values.rb
@@ -0,0 +1,37 @@
+#!/usr/bin/env ruby
+
+system 'rm temp.*'
+system 'gsch2pcb cape.gsch2pcb -o temp > /dev/null 2>&1'
+
+$elements = {}
+
+ElementRegex = /[ \t]*(Element[\[(].+) "(.*)" "(.*)" "(.*)" (.*)/
+
+File.open('temp.pcb') do |f|
+	f.readlines.each do |temp_element|
+		match = ElementRegex.match(temp_element)
+		if match
+			refdes = match[3]
+			value = match[4]
+			$elements[refdes] = value
+		end
+	end
+end
+
+File.open('cape.pcb') do |f|
+	$start_lines = f.readlines
+end
+
+File.open('cape.pcb', 'w') do |f|
+	$start_lines.each do |line|
+		match = ElementRegex.match(line)
+		if match
+			footprint = match[2]
+			refdes = match[3]
+			value = match[4]
+			f.puts "#{match[1]} \"#{footprint}\" \"#{refdes}\" \"#{$elements[refdes] || value}\" #{match[5]}"
+		else
+			f.puts line
+		end
+	end
+end
diff --git a/bbb_cape/schematic/digital input.sch b/bbb_cape/schematic/digital input.sch
index d8c9f09..f6a2458 100644
--- a/bbb_cape/schematic/digital input.sch
+++ b/bbb_cape/schematic/digital input.sch
@@ -34,7 +34,7 @@
 T 44200 45400 5 10 0 0 0 0 1
 footprint=0603
 T 44200 45400 5 10 0 1 0 0 1
-pn=VJ0603Y104JXJPW1BC
+pn=ERJ-3EKF4990V
 }
 N 45100 45500 45400 45500 4
 C 42300 46000 1 0 0 connector3-1.sym