[fix] Unlock app_remove and app_upgrade to allow nested executions in scripts