fix photo rendering
get rid of random photos function
get rid of scm thing