add dwlink-homepage.sh
fix if statement for OPTIMIZE option
fix file mode