Configure environment