fixing rdf + touching up compile script