fixes script resource locations in views that use a path, closes #43
api to return correct edit url with instance_id parameter, closes #46
change connection url