Cleaned up script 04 a bit.