@Override
	public void perform() throws IOException {
		URL websiteURL = new URL("http://www.runescape.com/game.ws?j=1");
		URLConnection urlConnection = websiteURL.openConnection();
		
		BufferedReader reader = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));
		String line;
		
		while((line = reader.readLine()) != null) {
			if(line.startsWith("<iframe id=\"game")) {				
				String[] regex = line.split("src=\"");
				String parameterFile = regex[1].replace("frameborder=\"0", "").replace("</iframe>", "").replaceAll("\"", "").replace(">", "");
						
				URL pURL = new URL(parameterFile);
				URLConnection pConnection = pURL.openConnection();
				
				BufferedReader pReader = new BufferedReader(new InputStreamReader(pConnection.getInputStream()));
				String pLine;
				
				BufferedWriter writer = new BufferedWriter(new FileWriter("./data/params.txt"));
				while((pLine = pReader.readLine()) != null) {
					writer.write(pLine);
					writer.newLine();
				}
				writer.close();
			}
		}
		reader.close();	
	}