added sudo
refactor passenger and nginx