I'ver got a problem with a design I'm creating.

It looks fine in ShipMaker, but when I try and load it into Sandbox it comes up with the following errors:
ERROR in
action number 1
of Create Event
for object __newobject1016:
In script nTur2:
Error in code at line 24:
l_section[argument6].l_child[l_section[argument6].l_childnum] = l_weapon[wj]
at position 4: Unknown variable l_section or array index out of bounds
---
ERROR in
action number 1
of Alarm Event for alarm 7
for object ShipSection:
Error in code at line 14:
l_c1 = merge_color(l_cm1,c_black,l_drawglow)
at position 21: Unknown variable l_cm1
---
ERROR in
action number 1
of Step Event
for object ThrusterEx:
Error in code at line 1:
image_angle = rs_owner.image_angle-rs_owner.l_angle + l_special6
at position 24: Unknown variable image_angle
---
ERROR in
action number 1
of End Step Event
for object ShipSection:
Error in code at line 275:
image_angle = l_owner.image_angle + l_angle + rs_rotang
at position 20: Unknown variable l_owner
---
ERROR in
action number 1
of End Step Event
for object ctr_Turrets:
Error in code at line 4:
dir = rs_offsetdir + rs_owner.image_angle - rs_owner.l_angle
at position 32: Unknown variable image_angle
Does anyone know how to fix this problem?
I am using custom ship sections from Kaelis' Shipwright Packs and custom sprites from HorseMonster's Detailed Weapons.
http://www.wyrdysm.com/phpBB3/viewtopic.php?f=23&t=3035http://www.wyrdysm.com/phpBB3/viewtopic.php?f=23&t=4770Attachment:
Firewing_Broke.rar [5.01 KiB]
Downloaded 17 times
I've added the ship files for anyone who wnats to take a look at it.