setting rapid from inline script rather than srvc