Changed script. Added figures for distributions