Edited script to add checkin devices