Add some defines for GS environment testing, expanding subprocess functionality