Implementing the on-start process