Adding rsubl setup function