make directory rainbow environment controlled