Ãrefactored for nginx/passenger