modification to make the cassandra directory a variable