Clean up master template
Update index.mak to private version, pull api_key.