Addedcleanup script and KEY script capabilities