diff --git a/pages/photos.sh b/pages/photos.sh
index 33f6c50..ede75ef 100755
--- a/pages/photos.sh
+++ b/pages/photos.sh
@@ -3,30 +3,41 @@
# Transition away from PhotoPrism. Helps to save system resources and downsize.
# Static Variables
+DIR=`dirname $0`
header="\n\t
You may click on an album name to " -echo -en "view all of its files, or click on a specific image to bring up the " -echo -en "full resolution. On the album pages you may also click an image or " -echo -e "video name to pull up the full resolution for download.
" -echo -e "\t\t\tYou may click on an album name to " >> $mainpage +echo -en "view all of its files, or click on a specific image to bring up the " >> $mainpage +echo -en "full resolution. On the album pages you may also click an image or " >> $mainpage +echo -e "video name to pull up the full resolution for download.
" >> $mainpage +echo -e "\t\t\t`cat $photo`
" + echo -e "\t\t\t\t`cat $photo`
" >> $mainpage else # Otherwise put in the PHOTOS page list. - echo -en "\t\t\t\t