modified bootcmd to test easily