#17 Fixed time detection to use archive instead of cache location