private void parseSql() {

		BufferedReader br = null;
		try {

			br = new BufferedReader(new FileReader(scriptFile));
			StringBuffer buffy = new StringBuffer();
			String line = br.readLine();
			while (line != null) {
				if(line.startsWith("--")) {
					// ignore comments
					line = br.readLine();
					continue;
				}
				buffy.append(line);
				line = br.readLine();
				if (line != null) {
					buffy.append(Migrator.new_line);
				}
			}

			String[] split = buffy.toString().split("@UP");
			if (split.length > 1) {
				upSql = split[1].trim();
			}
			split = buffy.toString().split("@DOWN");
			if (split.length > 1) {
				downSql = split[1].trim();
			}

		} catch (FileNotFoundException e) {
			throw new RuntimeException("can't read file " + scriptFile, e);
		} catch (IOException e) {
			throw new RuntimeException("can't read file " + scriptFile, e);
		} finally {
			if (br != null) {
				try {
					br.close();
				} catch (IOException e) {
					// bah
				}
			}

		}

	}