Fixed static lines for addFile and addScript