Fixed plugin file - now working