remove cursors and use schema name in queries
remove cursors and use schema name in queries

MIT-LCP/mimic-code-sharing,MIT-LCP/mimic-code,MIT-LCP/mimic-code-sharing,MIT-LCP/mimic-code,MIT-LCP/mimic-code