Updated the startup file and added functions to it