add with-profile macro