move global and misc to plugin dir