diff --git a/src/SecExp/securityHQ.tw b/src/SecExp/securityHQ.tw
index 40d44e15172e84ffb1cd3a35e3e69dd31291700c..dc0fa111a99322ac214d4abac4e2dc5fa3edeb47 100644
--- a/src/SecExp/securityHQ.tw
+++ b/src/SecExp/securityHQ.tw
@@ -15,7 +15,7 @@ Security headquarters
 The security headquarters stand in front of you. Innumerable screens flood with light the great central room. <<if $secHelots > 0>>Some slaves see you enter and interrupt their work to greet you.<</if>> From here you can build a safe and prosperous arcology.
 <br>
 /* security level. Slaves */
-You have <span id="secHel"><<print $secHelots>></span> slaves working in the HQ. $reqHelots are required and you have <span id="hel"><<print commaNum($helots)>></span> free menial slaves.
+You have <span id="secHel"> <<print commaNum($secHelots)>> </span> slaves working in the HQ. $reqHelots are required and you have <span id="hel"> <<print commaNum($helots)>> </span> free menial slaves.
 <<if $secHelots < $reqHelots>>
 	You do not have enough slaves here. You will not receive the full benefit of the installed upgrades.
 <<else>>
@@ -39,40 +39,139 @@ You have <span id="secHel"><<print $secHelots>></span> slaves working in the HQ.
 	//Bulk purchases will cost <<print cashFormat(200)>> over market price.//
 <</if>>
 <</if>>
-<br>
-<<if $helots >= 5>>
-	<<link "Transfer 5 menial slaves to the headquarters">>
-		<<set $helots -= 5>>
-		<<set $secHelots += 5>>
+<<if $helots > 0>>
+	<br>Transfer in:
+	<<if $helots >= 5>>
+		<<link "5">>
+			<<set $helots -= 5>>
+			<<set $secHelots += 5>>
+			<<replace "#secHel">><<print $secHelots>><</replace>>
+			<<replace "#hel">><<print $helots>><</replace>>
+			<<if $helots < 5 || $secHelots >= $reqHelots || $secHelots == 5>>
+				<<goto "securityHQ">>
+			<</if>>
+		<</link>>
+	<</if>>
+	<<if $helots >= 10>>
+		|<<link "10">>
+			<<set $helots -= 10>>
+			<<set $secHelots += 10>>
+			<<replace "#secHel">><<print $secHelots>><</replace>>
+			<<replace "#hel">><<print $helots>><</replace>>
+			<<if $helots < 10 || $secHelots >= $reqHelots || $secHelots == 10>>
+				<<goto "securityHQ">>
+			<</if>>
+		<</link>>
+	<</if>>
+	<<if $helots >= 100>>
+		|<<link "100">>
+			<<set $helots -= 100>>
+			<<set $secHelots += 100>>
+			<<replace "#secHel">><<print $secHelots>><</replace>>
+			<<replace "#hel">><<print $helots>><</replace>>
+			<<if $helots < 100 || $secHelots >= $reqHelots || $secHelots == 100>>
+				<<goto "securityHQ">>
+			<</if>>
+		<</link>>
+	<</if>>
+	<<if $helots >= 500>>
+		|<<link "500">>
+			<<set $helots -= 500>>
+			<<set $secHelots += 500>>
+			<<replace "#secHel">><<print $secHelots>><</replace>>
+			<<replace "#hel">><<print $helots>><</replace>>
+			<<if $helots < 500 || $secHelots >= $reqHelots || $secHelots == 500>>
+				<<goto "securityHQ">>
+			<</if>>
+		<</link>>
+	<</if>>
+	<<if $helots >= 1000>>
+		|<<link "1000">>
+			<<set $helots -= 1000>>
+			<<set $secHelots += 1000>>
+			<<replace "#secHel">><<print $secHelots>><</replace>>
+			<<replace "#hel">><<print $helots>><</replace>>
+			<<if $helots < 1000 || $secHelots >= $reqHelots || $secHelots == 1000>>
+				<<goto "securityHQ">>
+			<</if>>
+		<</link>>
+	<</if>>
+<</if>>
+
+<br>Transfer out
+<<if $secHelots >= 5>>
+	<<link "5">>
+		<<set $helots += 5>>
+		<<set $secHelots -= 5>>
 		<<replace "#secHel">><<print $secHelots>><</replace>>
 		<<replace "#hel">><<print $helots>><</replace>>
-		<<if $helots < 5 || $secHelots >= $reqHelots || $secHelots == 5>>
+		<<if $secHelots < 5>>
+			<<goto "securityHQ">>
+		<</if>>
+		<<if $secHelots < $reqHelots>>
 			<<goto "securityHQ">>
 		<</if>>
 	<</link>>
-<<else>>
-	Transfer 5 menial slaves to the headquarters
 <</if>>
-|
-<<if $secHelots >= 5>>
-	<<link "Transfer out 5 slaves">>
-		<<set $helots += 5>>
-		<<set $secHelots -= 5>>
+<<if $secHelots >= 10>>
+	|<<link "10">>
+		<<set $helots += 10>>
+		<<set $secHelots -= 10>>
 		<<replace "#secHel">><<print $secHelots>><</replace>>
 		<<replace "#hel">><<print $helots>><</replace>>
-		<<if $secHelots < 5>>
+		<<if $secHelots < 10>>
+			<<goto "securityHQ">>
+		<</if>>
+		<<if $secHelots < $reqHelots>>
+			<<goto "securityHQ">>
+		<</if>>
+	<</link>>
+<</if>>
+<<if $secHelots >= 100>>
+	|<<link "100">>
+		<<set $helots += 100>>
+		<<set $secHelots -= 100>>
+		<<replace "#secHel">><<print $secHelots>><</replace>>
+		<<replace "#hel">><<print $helots>><</replace>>
+		<<if $secHelots < 100>>
+			<<goto "securityHQ">>
+		<</if>>
+		<<if $secHelots < $reqHelots>>
+			<<goto "securityHQ">>
+		<</if>>
+	<</link>>
+<</if>>
+<<if $secHelots >= 500>>
+	|<<link "500">>
+		<<set $helots += 500>>
+		<<set $secHelots -= 500>>
+		<<replace "#secHel">><<print $secHelots>><</replace>>
+		<<replace "#hel">><<print $helots>><</replace>>
+		<<if $secHelots < 500>>
 			<<goto "securityHQ">>
 		<</if>>
 		<<if $secHelots < $reqHelots>>
 			<<goto "securityHQ">>
 		<</if>>
 	<</link>>
-<<else>>
-	Transfer out 5 slaves
 <</if>>
-|
+<<if $secHelots >= 1000>>
+	|<<link "1000">>
+		<<set $helots += 1000>>
+		<<set $secHelots -= 1000>>
+		<<replace "#secHel">><<print $secHelots>><</replace>>
+		<<replace "#hel">><<print $helots>><</replace>>
+		<<if $secHelots < 1000>>
+			<<goto "securityHQ">>
+		<</if>>
+		<<if $secHelots < $reqHelots>>
+			<<goto "securityHQ">>
+		<</if>>
+	<</link>>
+<</if>>
+
 <<if $secHelots != $reqHelots>>
-	<<link "Match the requirement">>
+	<br><<link "Match the requirement">>
 		<<if $helots >= $reqHelots - $secHelots>>
 			<<set $helots -= $reqHelots - $secHelots>>
 			<<set $secHelots = $reqHelots>>
@@ -89,12 +188,9 @@ You have <span id="secHel"><<print $secHelots>></span> slaves working in the HQ.
 			<<goto "securityHQ">>
 		<</if>>
 	<</link>>
-<<else>>
-	Match the requirement
 <</if>>
 
-<br>
-<br>
+<br><br>
 
 /* security level and upgrades */
 Your security level (@@.deepskyblue;<<print $security>>@@)