Garburator switch wiring help

Hi, I am installing a new garburator and confused about the wall switch wiring. There was no garburator when I moved into the condo and am now installing a new one. It didn't turn on when I installed it, so I removed the wall switch cover and see the cables were disconnected. There is a loose black wire and a loose blue wire; the green wire is attached. I was expecting a black, white and green wire. Would the blue wire go where the white wire would go normally? I have attached a picture of the set up. Thank you for any advice.