added common_mirrorlist function to library/common