added a active flag
pg for herokum