Various executable fixes