Changing code to deal with new functions that are now avalible in the Galaxy API