Finally got automated building working!