naive cached automated build implementation