moved modsys script to common directory