Cleaned up script formatting