Adding startup procedure