for FILE in `find . -type f -name "*.html" -exec grep -l '"/stylesheets' \{\} \;` ; do perl -p -i -e 's/\"\/stylesheets/\".\/stylesheets/g' $FILE; done
for FILE in `find . -type f -name "*.html" -exec grep -l '"/javascripts' \{\} \;` ; do perl -p -i -e 's/\"\/javascripts/\".\/javascripts/g' $FILE; done
for FILE in `find . -type f -name "*.html" -exec grep -l '"/images' \{\} \;` ; do perl -p -i -e 's/\"\/images/\".\/images/g' $FILE; done
for FILE in `find . -type f -name "*.js" -exec grep -l '"/javascripts' \{\} \;` ; do perl -p -i -e 's/\"\/javascripts/\".\/javascripts/g' $FILE; done