Add dynamic query creation for single line scripts. Closes #36
Bump to v0.6.5
Merge branch 'develop'