updates
complete gregory patch initialization, needs debugging though...