Deletes and adds working startup code.