Smart-M3 access control prototype #1 and test scripts