add module script for dist