fixed script path + cleanup