fixed minor bug in making user_data_string a global variable
added ipython magic command for publishing. updated setup.py to install the magic file