Making progress fixing the creation of compounds. Saving still broken'