move package install to late_command