finally we can switch away from deprecated scope function.
removed unused ecf packages