update to latest version with checking DNS as well
use curl instead of wget for easier results
make script executable
add directory placeholders