Trim scrypt files/references