Added scripts for nonlocal

  Also included is function attributes and class attributes