set package dist to pack www/ to scripts/ folder in the dist zip
set mdREST service to dynamically obtain location