AO/UV batch bake script for 2.78/2.79?

Edit: This is basically what I was looking for https://github.com/florianfelix/render_bbake

Are there any batch bake scripts (specifically for AO and or UV) that work with 2.77 or 2.78?
I was thinking of making a script myself, but I wanted to check if it’s already been done. (I’m not familiar with python or the Blender API.)

Thanks in advance for any info in this regard.