initial functions for running the container