We use a Execute Script towards the top before Applying OS X Image and then after the reboot (while it is in the OS) before all the settings and apps get installed.
#!/bin/sh
pmset sleep 0
pmset standby 0
pmset displaysleep 0
Then towards the end change them back
sudo pmset sleep 1
sudo pmset standby 1
sudo pmset displaysleep 10