added some modifications that enable pickup and drop of cube and bucket via buttons