updates mostly related to multi arch compatibility
helper scripts updates