Added a startup function