Move custom config to index and add setup script