Hi there,
I run a company specializing in Google Apps Script development. In the last two years, we've automated workflows of several of our clients using Apps Script. I am confident of being able to sort out the bugs in your script and help you resolve your error.
We are just starting out at freelancer here so I have kept a very low bid as I am doing this for the rating and not the money.
Please feel free to write back if you have any questions.