Added resources and changed outputs to lists for js ease.