made paths to scripts variable