saving layout and channels