tweeks to get photograpy working