Use startup event for initialisation