This should handle SGE cluster hook-up, needs more testing
Update SGE template
Updated script for testing