Updated scripts for trusty and some other tweaks.