Added first draft of a generic glue script