Updated to run locally on Mac laptop as well