getting preview working for deploy user