include: remove file before overwritting it with replace_script