Refactored builds for ralph files.