Setting up Variables and Referencing XML ids