Fix preview compiling, updated scaffold page