adding photoi cfg