added disk checking and main stuffs