Corrected the sample to use the static plugin