change sudoers to stop asking for password when running a systemsetup comman
Was brave enough to do it myself. For future readers, add:

yourusername ALL=(ALL) NOPASSWD: /usr/sbin/systemsetup


after 

## User privilege specification
##
root ALL=(ALL) ALL
%admin  ALL=(ALL) ALL