added hard disk support
some changes