Minor changes to checkout php