Script all definitions to files