modifications to get the frontend functioning
correct preview url