added a bool for social functions and inplemented credits