this script no longer works since they changed the structure of the page
remove mags.pl since it no longer works