Added code for fetching the links
Added link to event object
Wrapped make_even in try/catch
Deleted test print
Added test code