Trying to automate the daemon build process