Cleaned up scripts a little bit.