Added exports / functions for scriptmethods inside plugins