Plugin {} notation does not work in external scripts