script scoping

Add method and properties via reflection