beginning of grid engine adaptor