changed paths in head.html to S3 paths