more work to make www environment aware. also removed extra CSS
used env variables for the app links