Grid Import was not restoring functions

added the ability for the grid import to restore functions from a export.