Add new shell state with environment and base