rc - paths and env vars cleanup