Add HOME environment variable.
Move nginx.sh to a dedicated script subdirectory.