refactor to use instance scripts (these will be moved to submodule soon