The Prime Minister criticised the SNP record