Convert the mac functions to just return 1 for success and 0 for failure