added clean option as flag 4: removes data and analysis directories