Fixed package issues. Added script to run on startup to set SGE host correctly and restart SGE.