finished plugin handling in php