file and link insert had their path still hardcoded