Phased out the usage of HERE doc in favour of

script arguments. This should be less error prone in comparison to the
previous approach.
Merge pull request #64 from ausaccessfed/private/test

Removed HERE document usage in favour of arguments to script