adding credits, embed capability
adds embed function through pym.js