Spline not editable when set in Construction Script

Check the boxes for editing and everything will be ok
image