working node / phantom script for generating cached results, still need to sort out deployment