Basic configuration and photos cleaning.