tentatively working goal factoring program on top of active resource scripts. have not yet injected dependencies; marking progress so that i don't have to do a total rehash if it comes to that.