cleaned up scripts for sustainability