deleting legacy startup code