Skipping over the diagnostics that indicate a new compressor.
If the system is opened, then the filter/dryer needs replacing. If the old compressor dumped junk in the system, all of that needs to be cleaned out with approved cleaners.
Dry nitrogen with nitrogen regulator to purge system while...