Working Code with location and key word tracking