Updated to use mirage-profile library