reworked scrip pathes