Cleaned up config script