added functionality that sets app=free whenever price=0 in content