Added neccessary setup for logging and made photo filename dynamic