Add missing quotes to exec statement