setting up relay, some script not portable...