improved return codes in main script
fixed gettext profile
added wget