Updated files - now working with more up to date php