Adding the option to retrieve a cypher from the model

I have added the option to get the cypher from the model, so each upload can have a different cypher.