updated a few things. bug with device options still remains unsolved