updated base, ported scripts