update scripts & grid system
updates from sanmiks project