public static boolean checkRequiredProperties(Properties props,
			boolean dotransactions, boolean doSchema, boolean doTestDB, boolean doStats) {
		if (dotransactions) { 
			//benchmark phase
			if (props.getProperty(WORKLOAD_PROPERTY) == null) {
				System.out.println("Missing property: " + WORKLOAD_PROPERTY);
				return false;
			}
		} else {
			if(!doSchema && !doTestDB && !doStats){
				//if schema is already created and are in load phase
				if (props.getProperty(USER_WORKLOAD_PROPERTY) == null
						|| props.getProperty(FRIENDSHIP_WORKLOAD_PROPERTY) == null
						|| props.getProperty(RESOURCE_WORKLOAD_PROPERTY) == null) {
					System.out.println("Missing property: "
							+ USER_WORKLOAD_PROPERTY + ", "
							+ FRIENDSHIP_WORKLOAD_PROPERTY + " ,"
							+ RESOURCE_WORKLOAD_PROPERTY);
					return false;
				}
			}
		}

		return true;
	}