Setup environment.