Set initial configurations