Fix bug with doubled layout on 500 error. Fix smile rotation. Take out scripts