updated scripts to use namespace pattern