Fixed everything for the startup script