text: I wish to use the features and tools provided in klayout to modify the gds in a non-interactive automated fashion.
  For eg. through some ruby script with input as a gds file output is another gds with modifications.
  This way i can use klayout as part of my bigger automated script.
  Is there a possible workaround available ?