Moved if statememnt that test for movie and photo albums outside of main function.