Updated to use values in last 24 hours, also commented out console logging for performance