Fixed the INSERT statement. Was missing a variable.