Move paths comparison logic from script to kudu service, also move environment keys to a different specific class,