RMI example with working scripts