changed back to embedded because managed was too painful w/ perm problems