Chris Will Trip modified code for GCS control