Running Establish functions.
Could use some refactoring.