Updated plugin to support additional configuration including stripPrefix, prependPrefix and variableName.