Changed interface for calling to scripts. Simplified class names.