updated directory install so opt not overwritten with redbox permissions.