Index: /branches/rel_avx_2_7_4/scripts/avxapps_startup.sh
===================================================================
--- /branches/rel_avx_2_7_4/scripts/avxapps_startup.sh	(revision 9105)
+++ /branches/rel_avx_2_7_4/scripts/avxapps_startup.sh	(working copy)
@@ -105,9 +105,6 @@
 
     /usr/bin/ipmitool raw 0x30 0x70 0x0c 0x1 0x0
 
-    # reset N5 card firmware to V2.0 during 1st boot
-    /ca/bin/reset_microcode.sh V2.0
-
     MEM_TOTAL=$(free | awk '{if($1=="Mem:"){print $2}}')
     AVX_HUGES=$(awk -F '=' '{if($1=="avx_hgpgs"){print $2}}' $GRUBENV_PATH)
     NEW_AVX_HUGES=5120
Index: /branches/rel_avx_2_7_4/scripts/reset_microcode.sh
===================================================================
--- /branches/rel_avx_2_7_4/scripts/reset_microcode.sh	(revision 9105)
+++ /branches/rel_avx_2_7_4/scripts/reset_microcode.sh	(working copy)
@@ -19,20 +19,15 @@
 fi
 
 if [ "x${type}" == "xupgrade" ]; then
-	rm -f /caupgrade/${file1}.${V097}
-	rm -f /caupgrade/${file2}.${V097}
-	rm -f /caupgrade/${file3}.${V097}
-	if [ -f ${file1}.${V097} ]; then
-		#new api
-		if [ -f /caupgrade/${file1}.${V20} ]; then
-			mv /caupgrade/$file1 /caupgrade/${file1}.${V097}
-			mv /caupgrade/$file2 /caupgrade/${file2}.${V097}
-			mv /caupgrade/$file3 /caupgrade/${file3}.${V097}
+	#new api
+	if [ -f /caupgrade/${file1}.${V20} ]; then
+		mv /caupgrade/$file1 /caupgrade/${file1}.${V097}
+		mv /caupgrade/$file2 /caupgrade/${file2}.${V097}
+      	mv /caupgrade/$file3 /caupgrade/${file3}.${V097}
 
-			mv /caupgrade/${file1}.${V20} /caupgrade/$file1
-			mv /caupgrade/${file2}.${V20} /caupgrade/$file2
-			mv /caupgrade/${file3}.${V20} /caupgrade/$file3
-		fi
+		mv /caupgrade/${file1}.${V20} /caupgrade/$file1
+		mv /caupgrade/${file2}.${V20} /caupgrade/$file2
+		mv /caupgrade/${file3}.${V20} /caupgrade/$file3
 	fi
 	exit 1
 fi
Index: /branches/rel_avx_2_7_4/src/backend/sys_update.c
===================================================================
--- /branches/rel_avx_2_7_4/src/backend/sys_update.c	(revision 9105)
+++ /branches/rel_avx_2_7_4/src/backend/sys_update.c	(working copy)
@@ -265,9 +265,11 @@
         sprintf(copy_cli, "/usr/bin/cp -f %s %s", AVX_CHRONY_CONF, AVX_CHRONY_CONF_OTHER);
         system(copy_cli);
     }
-   
+
+    // run script from old (local) build
     system("/ca/bin/avxapps_compatible.sh");
     sleep(1);
+    // run script from new (upgrade) build
     system("/caupgrade/ca/bin/avxapps_upgrade.sh");
     sleep(1);
     upgrade_va_by_avx_version_rpc();
