Added 'active' flag for machines
Version 1.0 done