First part of the setup process