added check for custom bin dir
hostname -s is slow when internet is crap, just catting /etc/hostname instead