added revision parameter for plugins