Reworked compile process to remove hardcoded values.