Removed the println statements as this program will be run as a daemon
later