workflow for returning packages from the resource level
fixing some syntax