added some helpers for some common functions needed for installation