updated tim hostname
added handling of OWD variable for SGE