Fix some redundency codes.
Fix startup file.