Edited: improved pdf v moments scripts
Edited: improved pdf v moments scripts